package chapter03;


class Student{
    private String name;
    privtae int age;
    public Student(String name,int age){
        this.name =name;
        this.age = age;
    }
    public String read(){
        return "我是："+name+"年龄:"+age;
    }
}
public class Example10 {
    public static void main(String[]args){
        Student dtu = new Student("张三",18);
        System.out.println(stu.read());
    }

}
